package com.kaichaohulian.baocms.newmodel;

/**
 * Created by xzwzz on 2017/5/12.
 */

public class SubmitModel {

    /**
     * code : 0
     * dataObject : {"orderNo":"FL1015063059","amount":3,"userId":7402}
     * errorDescription : 提交成功
     */

    private String code;
    private DataObjectBean dataObject;
    private String errorDescription;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataObjectBean getDataObject() {
        return dataObject;
    }

    public void setDataObject(DataObjectBean dataObject) {
        this.dataObject = dataObject;
    }

    public String getErrorDescription() {
        return errorDescription;
    }

    public void setErrorDescription(String errorDescription) {
        this.errorDescription = errorDescription;
    }

    public static class DataObjectBean {
        /**
         * orderNo : FL1015063059
         * amount : 3
         * userId : 7402
         */

        private String orderNo;
        private String amount;
        private int userId;

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
